package com.shardingsphere.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shardingsphere.domain.Emp;
import com.shardingsphere.dto.EmpGroupDTO;
import com.shardingsphere.dto.EmpWithBonusDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 雇员表 Mapper层接口
 * </p>
 *
 * @author jpge2
 * @since 2023-11-06
 */
@Mapper
public interface EmpMapper extends BaseMapper<Emp> {

    List<EmpGroupDTO> selectGroup();

    EmpWithBonusDTO selectEmpWithBonus(Long empId);
}